package com.zhengwl.study.model;

public class TestA {

	private int age;
	private String name;
	private TestB testB;
	
	public TestB getTestB() {
		return testB;
	}
	public void setTestB(TestB testB) {
		this.testB = testB;
	}
	public TestA(int age,String name){
		this.age=age;
		this.name=name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public String toString() {
		return this.age+this.name;
	}
	
	static class NestTestA{
		private int height;

		public int getHeight() {
			return height;
		}

		public void setHeight(int height) {
			this.height = height;
		}
	}
}
